#define _CRT_SECURE_NO_WARNINGS
#include"byy.h"
int main()
{
	int i, j;
	int s = 0;
	int a[3][3] = { {1,2,3},{4,5,6},{9,8,7} };
	for (i = 0; i < 3; i++)
	{
		for (j = 0; j < 3; j++)
		{
			if ((i ==j || i == 2 - j))
			{
				s = s + a[i][j];
			}
		}
	}
	printf("%d",s);
	return 0;
}